services.github-runners.<name>.workDir

Working directory, available as $GITHUB_WORKSPACE during workflow runs and used as a default for repository checkouts. The service cleans this directory on every service start.

A value of null will default to the systemd RuntimeDirectory.

Changing this option triggers a new runner registration.

Type
null or string
Default
null
Declared
<nixpkgs/nixos/modules/services/continuous-integration/github-runner/options.nix>